package com.haoyeteng.sxbd.modular.business.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.haoyeteng.sxbd.modular.business.model.User;
import com.haoyeteng.sxbd.modular.fdc.pojo.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author haoyeteng123
 * @since 2019-05-16
 */
public interface FDCUserMapper extends BaseMapper<Users> {



	/**
	 * 用户列表
	 * @param page
	 * @param authState
	 * @param userName
	 * @return
	 */
    List<Map<String,Object>> selectFDCUsers(Page<Users> page,Map<String,Object> params);


	/**
	 * 根据手机号查询
	 * @param phone
	 * @return
	 */
	Users getByUserPhone(@Param("phone")String phone);
}
